package com.hualan.sfzy.mapper.course;

import com.hualan.sfzy.entity.course.Course;
import com.hualan.sfzy.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface CourseMapper extends BaseMapper<Course> {
    List<Course> selectBySortAndRange(String sortType, String priceRange);
    int countCoursesByClassifyId(@Param("classifyId") Integer classifyId);

}
